package io.renren.socket;
//数据解析
public class CommContent {
    private  String id;   //设备号
    private String function;       //方法域
    private String data;    //数据域
    private String check;   //检查字
    private String end;     //结束

    @Override
    public String toString() {
        return id+"号设备"+","+"功能字:"+function+"数据是"+data;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getCheck() {
        return check;
    }

    public void setCheck(String check) {
        this.check = check;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }
}
